try:
    a = int(input("请输入a:"))
    b = int(input('请输入b:'))
    print(a/b)
except ZeroDivisionError as e:
    print(e)
except ValueError as e:
    print(e)